General git
commands_
git clone <git-clone repository link>
------------or----------------------
git remote add origin https://github.com/user/repo.git
git add <folder/filename>
git commit -m "Comment"
git status
git checkout -b <name>
#Delete github repo from local
git branch -d branch_name
-
Adding new git repository to local
git init
git remote add origin <name> <url>
git pull <url:ssh> <branch-name>
git add .
git commit -m "Comment"
git push --set-upstream origin master
-
Create a pull request and
Rebase and Squash
for new folder structure to appear in the master. -
Delete local git branch
git branch -d <local-branch>