sauravUppoor / GSoC-pgRouting

Semi-mirror repository for GSoC students work
GNU General Public License v2.0
0 stars 0 forks source link

Task 2: Experience with GitHub & Git #1

Open sauravUppoor opened 3 years ago

sauravUppoor commented 3 years ago
sauravUppoor commented 3 years ago

saurav@Lantern:~/Desktop/GSoC-pgRouting$ git remote -v
origin  https://github.com/sauravUppoor/GSoC-pgRouting (fetch)
origin  https://github.com/sauravUppoor/GSoC-pgRouting (push)
upstream    https://github.com/pgRouting/GSoC-pgRouting (fetch)
upstream    https://github.com/pgRouting/GSoC-pgRouting (push)

Checking to develop branch of upstream

saurav@Lantern:~/Desktop/GSoC-pgRouting$ git checkout upstream/develop 
Note: switching to 'upstream/develop'.

saurav@Lantern:~/Desktop/GSoC-pgRouting$ git branch
* (HEAD detached at upstream/develop)
  master
saurav@Lantern:~/Desktop/GSoC-pgRouting$ git branch -a
* (HEAD detached at upstream/develop)
  master
  remotes/origin/HEAD -> origin/master
  remotes/origin/develop
  remotes/origin/gsoc-ashish
  remotes/origin/gsoc-himanshu
  remotes/origin/gsoc-prakash
  remotes/origin/master
  remotes/upstream/develop
  remotes/upstream/gsoc-ashish
  remotes/upstream/gsoc-himanshu
  remotes/upstream/gsoc-prakash
  remotes/upstream/master

Creating a new branch sauravUppoor-test -
saurav@Lantern:~/Desktop/GSoC-pgRouting$ git checkout -b sauravUppoor-test
Switched to a new branch 'sauravUppoor-test'

saurav@Lantern:~/Desktop/GSoC-pgRouting$ git status
On branch sauravUppoor-test
nothing to commit, working tree clean

saurav@Lantern:~/Desktop/GSoC-pgRouting$ git add doc/src/pgRouting-introduction.rst
saurav@Lantern:~/Desktop/GSoC-pgRouting$ git status
On branch sauravUppoor-test
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
    modified:   doc/src/pgRouting-introduction.rst

saurav@Lantern:~/Desktop/GSoC-pgRouting$ git commit -m "Append name to the contributor list"
[sauravUppoor-test 5e279ef15] Append name to the contributor list
 1 file changed, 2 insertions(+), 1 deletion(-)

saurav@Lantern:~/Desktop/GSoC-pgRouting$ git push origin sauravUppoor-test
Username for 'https://github.com': sauravUppoor
Password for 'https://sauravUppoor@github.com': 
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 2 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 461 bytes | 92.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), completed with 4 local objects.
remote: 
remote: Create a pull request for 'sauravUppoor-test' on GitHub by visiting:
remote:      https://github.com/sauravUppoor/GSoC-pgRouting/pull/new/sauravUppoor-test
remote: 
To https://github.com/sauravUppoor/GSoC-pgRouting
 * [new branch]          sauravUppoor-test -> sauravUppoor-test```
sauravUppoor commented 3 years ago

PR Link: https://github.com/pgRouting/GSoC-pgRouting/pull/146 File changed: doc/src/pgRouting-instructions.rst