Basic git commands
Need to do an initial commit:
mkdir dir_name
cd dir_name
git init
git add .
git commit
Repository cloning:
git clone repository_url
Add a file:
git add file_path
What are the things you modified and added locally
git status
Commit the files:
git commit
git pull
git push origin master(after commit need to push the files)
Need to see the commits
git log
Delete a Remote Branch from GitHub
git push origin :branch_name
Advertisement
leave a comment