Git Hub Crash Course
Git Hub Crash Course
4)git status --> to show the status of the project to know if there is a new
updates on the projects must be committed or not
--> git add to save changes --> git add filename or git add ./-A/--all (add all
changes)
- ignore all files that include extenstion .txt --> /*ignore all files end
with .txt */-->(*.txt)
7) after add changes --> git commit -m "message" commit all files with this message
15) git commit -m "msg" --amend -->change the msg of the last commit
20) to merge we need to stand on master then --> git merge -m "msg" branch_name
22) git switch -c "new_branch_name" create and switch to branch in one step