Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 989 Bytes

GitHub_Commands.md

File metadata and controls

63 lines (40 loc) · 989 Bytes

Basic Git Commands for Absolute Beginners

Use the Windows Git Bash Terminal for all the Git-related commands.

To check the status of the Git Repo

git status

To clone this repo

git clone [email protected]:chandantaluja/CLI_Project.git

For the first time, Git set up (Configure Git)

To set up the username

git config --global user.name "Chandan Taluja"

To set up the User email

git config --global user.email "[email protected]"

To check the Git Configure settings

git config --list

To add new and changed files to the git staging area

git add <filename>

To add Commit text

git commit -m "commit text"

To push the changes to GitHub

git push origin main

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Website used to create this readme

makeareadme