git commands

PHOTO EMBED

Fri Mar 04 2022 06:04:51 GMT+0000 (UTC)

Saved by @jkenger #git

git config –global user.name “[name]”  
git config –global user.email “[email address]”  
git init [repository name]
git clone [url] 
git add [file] 
git add *  
git commit -m “[ Type in the commit message]” 
git commit -a  
git rm [file]
git branch
git branch [branch name]
git checkout [branch name]
git checkout -b [branch name]
git merge [branch name]  
git remote add [variable name] [Remote Server Link]  
git push [variable name] master  
git pull [Repository Link]  

git rm -rf .git
content_copyCOPY