Skip to content

Instantly share code, notes, and snippets.

@abhianair
Created January 1, 2020 05:28
Show Gist options
  • Select an option

  • Save abhianair/077a1da8692f00d613ddd1a3996355ca to your computer and use it in GitHub Desktop.

Select an option

Save abhianair/077a1da8692f00d613ddd1a3996355ca to your computer and use it in GitHub Desktop.
# show orgins for a repository
git remote -v
#delete a remote of a repository
git remote rm origin #where origin is the remote
#pushing to master with branches
git add .
git add -A #only changed file
#change branch to development
git checkout [branchname]
git checkout master
#merge develope branch to master
git merge develop
#push
git push
#change to develop branch
git checkout develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment