What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-19 14:55:02
push project to gitlab account
# 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 -
Other 2022-02-03 06:20:54
git commands
…or create a new repository on the command line git init git add . git commit -m "first commit" git remote add origin https://github.com/metinkaya1511/FinraDeck.git (GitHub’daki adres) git push -u origin master …push a... Add solution -
Shell/Bash 2021-11-13 18:43:28
git how to work with remote branch and fork
Step 1) Checkout new branch `git checkout -b new-branch` Step 2) Make changes Step 3) Add to git `git add .` Step 4) Commit `git commit -m "Made changes!"` or `git commit -a` Step 5) Push to your repo `git push origin new-branch` Step 6) Make PR... Add solution -
Other 2021-11-08 12:23:10
how to get updates from another brach
//go to the master branch our-team git checkout our-team // pull all the new changes from our-team branch git pull // go to your branch featurex git checkout featurex // merge the changes of our-team branch into featurex bran... Add solution -
TypeScript 2021-10-29 00:47:07
How to force run unit tests when running Git push?
#!/bin/bash while read oldrev newrev refname do # Only run this script for the master branch. You can remove this # if block if you wish to run it for others as well. if [[ $refname = "refs/heads/master" ]] ; then # Anything... Add solution -
Shell/Bash 2021-10-24 05:52:11
merge master to dev branch
1. //pull the latest changes of current development branch if any git pull (current development branch) 2. //switch to master branch git checkout master 3. //pull all the changes if any git pull 4. //Now merge development into master git m... Add solution -
Shell/Bash 2021-10-04 06:55:03
git commands
…or create a new repository on the command line git init git add . git commit -m "first commit" git remote add origin https://github.com/metinkaya1511/FinraDeck.git (GitHub’daki adres) git push -u origin master …push a... Add solution -
Shell/Bash 2021-09-30 15:41:05
git remote push
git remote add origin <repository url> # adds a repo to your project git remote # lists all the repos of your project git config --get remote.origin.url # prints the url of a repo git push origin master # updates the master branch of yo... Add solution