Skip to content

mohamedhassen-jahha/Git-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git commands

CheckPoint for git commands

Tasks:

  • Create a folder called learn_git_again.
  • Cd (change directory) into the learn_git_again folder.
  • Create a file called third.txt.
  • Initialize an empty git repository.
  • Add third.txt to the staging area.
  • Commit with the message "adding third.txt".
  • Check out your commit with git log.
  • Create another file called fourth.txt.
  • Add fourth.txt to the staging area.
  • Commit with the message "adding fourth.txt"
  • Remove the third.txt file.
  • Add this change to the staging area.
  • Commit with the message "removing third.txt".
  • Check out your commits using git log.
  • Change your global settings to core.pager=cat - you can read more about that here.
  • Write the appropriate command to list all the global configurations for git on your machine.
  • You can type git config --global to find out how to do this.

About

CheckPoint for git commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published