forked from adithyaphilip/git-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
VaibAg/git-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
As tempting as it is to leave this file with a 'Hello World', for once we may settle with something slightly more useful.
This file has been rescued from being the embodiment of a programming cliche, and shall now serve as a reminder of the instructions you need to execute. Step 1: Fork dat repo to your own account.
Step 2: Enter the following command to link this repo to your fork! The syntax is: git remote add [whatever you wanna call this link] [URL to that repo]
E.g. git remote add mine https://https://github.com/username/jigglywiggly.git Step 3: git checkout -b [new branch name] // remember, the -b flag means create a new branch
Step 4: Make the changes to this repo this world so desperately needs
Step 5: Take a look at your uncommitted changes with 'git status'
The ones in red are "unstaged" while the ones in green are "staged"
Step 6: git add -A // (means add all changed files to the staging area)
Step 7: git commit -m [message of your choice] // the changes in the staging are committed
Step 8: git push mine [name of the new branch you had created]
Step 9: Go to your repo page. Navigate to your branch. Click on whatever sounds like "Make Pull Request"
Step 10: Wait with bated breath for your change to be accepted
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published