Copying the content of gitlabproject to another project
Santosh Sharma Poudel
0:00 / 0:00
Copying the content of gitlabproject to another project
6 просмотров · 5 дней назад
Santosh Sharma Poudel
4 подписчика
6 просмотров · 5 дней назад
cd gitlabproject/
mkdir practical2
cd practical2/
ls -la
git clone git@gitlab.com:poudelsantoshsharma/gitlabproject.git .
ls
pwd
git branch
git branch -r
git checkout duumy6
git branch
git branch -r
git checkout develop
git branch
git remote show
git remote show origin
git push origin develop
echo "copying project from" test.hmtl
git status
git add test.hmtl
git commit -m "copying project from gitproject to practical2"
git status
git log --oneline
git push origin
git remote add cloud git@gitlab.com:poudelsantoshsharma/practical2git
git remote set-url cloud git@gitlab.com:poudelsantoshsharma/practical2git
git remote -v
git push cloud develop:main --force
Setting up default & protected branches in GitLab
• Setting up default & protected branches in...