Skip to content

This is an optional git assignment for juniors to experiment around with git.

Notifications You must be signed in to change notification settings

Shash0501/GIT_ASSIGNMENT_GDSC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIT_ASSIGNMENT_GDSC

Assignment

  • Make a folder with name of the folder in the format - <Name>_<Rollno> (Shashank_201CS257)
  • In that folder you can add any piece of code.
  • Make a pull request

Contributing Guidelines

Setting Up

  • Fork the repo.
  • Clone the forked repo using git clone <repo-url> to desired directory.

Pull Requests

  • For each new submission, fix or feature create a new branch named <github-handle>-<explanatory-name>.
    git branch <branch-name>
  • Switch to the new branch.
    git checkout <branch-name>
  • Make the changes in the new branch.
  • Stage the changes for the next commit.
    To stage changes from specific files:
    git add <filename>
    To stage all the changes at once:
    git add .
    Use git status to track the changes made.
  • Commit the changes.
    git commit -m "<commit-message>"
  • Push the changes to your forked repo.
    If you're working on a new branch:
    git push -u origin <branch-name>
    If the branch already exists:
    git push
    
  • Create a pull request.

Keep in Mind

  • Use meaningful small commits. Refer to this link.
  • Remember to fetch changes from the upstream repo before working on something.

About

This is an optional git assignment for juniors to experiment around with git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published