What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-28 22:56:04
gitlab add remote upstream
# First remove any existing hidden git folder in your project folder # Initialize project in your folder git init # add your gitlab project as your remote origin git remote add origin https://gitlab.com/your_account_name/project_name.git # add all files i... Add solution -
Shell/Bash 2021-09-27 23:21:02
git create master branch in empty repository
# initialize your bare repo $ git init --bare test-repo.git # clone it and cd to the clone's root directory $ git clone test-repo.git/ test-clone Cloning into 'test-clone'... warning: You appear to have cloned an empty repository. done. $ cd test-clone ... Add solution -
Shell/Bash 2021-09-22 22:39:02
update fork
## Add Original Repository git remote add upstream https://github.com/OriginalOwner/OriginalProject.git ## Verify if Repository is added git remote -v ## Fetch Updates from Original Repository git fetch upstream ## Checkout to your master branch git ch... Add solution