Skip to content

setco-website/my-first-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Starting Commands:

  • git --version
  • git init

Day 1 Commands:

  • Initialising a Repo (git init)
  • Checking the Status (git status)
  • Add the files to Git's tracking system (git add <filename or directory>)
  • Staging Area: This is a preview area, where you can either continue to commit or remove it before committing.
  • Diff: Looking into the changes of the current file. (git diff)
  • Cached Diff: For checking the diff of added files. (git diff --cached)
  • Committing the Change (git commit / git commit -m)
  • Commit Log: What all changes have you and your team has made. (git log)

Day 2 Contents:

  • How to create an account with GitHub.
  • What are remotes?
  • Adding the remotes.
  • Pushing the code from local machine to remote server.
  • Different Terminologies:
    • Branches / Tags
      • Commits
        • One or More File Changes (addition, deletion or updates)
  • Pulling the latest changes from remote server to local machine.
  • Creating a new branch - CLI & GUI.
  • Pushing branches.
  • Creating a new tag using CLI.
  • Pushing tags.
  • Deleting the branches on GitHub Remotely.
  • Why branching?
  • Going back in Time.

About

This is my first ever project using GitHub.

Resources

Stars

Watchers

Forks

Packages

No packages published