Skip to content

BENLAKHDHER/learn_git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integration and Version Control with Git

Git & GitHub Project

What You're Aiming For

Now that you have learned the basics of Git workflow, try running through it a couple of times on your own (see instructions).

At this checkpoint, you are asked to take screenshots for each step in the instructions section, then push these screenshots to the GitHub repository.

Instructions

  1. Create a folder called learn_git.
  2. Cd (change directory) into the learn_git folder.
  3. Create a file called third.txt.
  4. Initialize an empty git repository.
  5. Add third.txt to the staging area.
  6. Commit with the message "adding third.txt".
  7. Check out your commit with git log.
  8. Create another file called fourth.txt.
  9. Add fourth.txt to the staging area.
  10. Commit with the message "adding fourth.txt"
  11. Remove the third.txt file.
  12. Add this change to the staging area. (Using the command "git add . "
  13. Commit with the message "removing third.txt".
  14. Check out your commits using git log.
  15. Change your global settings to core.pager=cat - you can read more about that here.
  16. Write the appropriate command to list all the global configurations for git on your machine.
  17. You can type git config --global to find out how to do this.

About

Git & GitHub Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published