Giter Club home page Giter Club logo

spider's Introduction

  • Open a terminal
  • CD to your home directory
  • Create a folder called learn_git_again.
  • cd 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 local setting user.name to something different than what's in your global
  • Write the command to list all of the global configurations for git on your machine.
  • Write the command to list all of the local configurations for git on your machine.
  • Add a readme.dm file and with the help of markdown syntax, create a beautiful documentation of what you just did.
  • Add the readme.dm to your staging area
  • commit with the message "good documentation"
  • check your logs. Is the author name different now?

Part 2

  • Go to your github and create a new project with the name "learn_git_again"
  • Check the branch of your local repo and make sure it says "master"
  • Rename this branch to be "main"
  • Check if any remote exist on you local repo
  • Add a remote obtained from your newly created github project
  • Push your local repo to github
  • Make sure your local repo appears on your github with all its files.
  • Add a sub-directory called 'doc'
  • Check the status. Does git track the newly created directory? If no, then please search and tell me why
  • From the internet, download an image and place it inside the 'doc' folder
  • Now check the status. Does git track the 'doc' folder? Can you guess why it tracks it now?
  • Stage your change, commit and push.
  • Check github to be sure the changes were saved. - modifying

spider's People

Contributors

bhavanimaha avatar eyongkevin avatar vitaliisili avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.