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-23 19:19:03
git update branch from master
git checkout test-branch //Checkout the branch you want to update git merge master //Merge all code from master to test-branch // When your are done with test-branch you can merge all code into master branch git checkout master // Make sure you are ... 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 -
Shell/Bash 2021-09-21 06:38:03
git clone specific commit
# make a new blank repository in the current directory git init # add a remote git remote add origin url://to/source/repository # fetch a commit (or branch or tag) of interest # Note: the full history up to this commit will be retrieved unless # ... Add solution -
Shell/Bash 2021-09-20 18:47:03
how is branching
Our test framework is separate repo from the application code repo. Automation framework has a smaller code base, and fewer people are involved. so we do not have a very complicated branching strategy We have master and develop branches(buffer branch) i... Add solution -
Other 2021-09-20 10:37:04
helo chart in kubernetes
Helm is the package manager (analogous to yum and apt) and Charts are packages (analogous to debs and rpms). The home for these Charts is the Kubernetes Charts repository which provides continuous integration for pull requests, as well as automated rel... Add solution -
Other 2021-09-17 22:07:04
how to update forked repo in GitHub
## 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 -
Shell/Bash 2021-09-01 05:53:03
how to fetch upstream changes gitlab fork
# Git CLI # Add a secondary remote called upstream. git remote add upstream https://... # Fetch the remote and then pull its changes into your local master branch. git checkout master git fetch upstream git pull upstream master # Last, push to your o... Add solution -
Shell/Bash 2021-08-31 21:07:01
git rebase 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
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5