Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GITHUB help -- pls
#1
This board seemed the appropriate place to post this.

I figured to throw up some of (working) python script on github (git version 2.14 on my linux). I set up an acct AND base repository (just the obligatory readme.md). I followed the instructions on lifehacker github installer guide

On Github if I click README.md, its text is foo. Obviously something went thru but I'm confused....

please help.

Output:
me@me-ubuntu:~$ git config --global user.name "mepyyeti" me@me-ubuntu:~$ git config --global user.email "[email protected]" me@me-ubuntu:~$ mkdir foo me@me-ubuntu:~$ cd foo me@me-ubuntu:~/foo$ git init Initialized empty Git repository in /home/me/foo/.git/ me@me-ubuntu:~/foo$ touch README me@me-ubuntu:~/foo$ git add README me@me-ubuntu:~/foo$ git commit -m 'first commit' [master (root-commit) b5f8aa9] first commit 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 README me@me-ubuntu:~/foo$ git remote add origin https://github.com/mepyyeti/foo.git me@me-ubuntu:~/foo$ git push origin master Username for 'https://github.com': mepyyeti Password for 'https://[email protected]': To https://github.com/mepyyeti/foo.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/mepyyeti/foo.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. me@me-ubuntu:~/foo$ git --version git version 2.14.1 me@me-ubuntu:~/foo$
pls advise??? thx...
Reply


Messages In This Thread
GITHUB help -- pls - by mepyyeti - Mar-17-2018, 11:04 PM
RE: GITHUB help -- pls - by metulburr - Mar-17-2018, 11:37 PM
RE: GITHUB help -- pls - by mepyyeti - Mar-17-2018, 11:38 PM
RE: GITHUB help -- pls - by metulburr - Mar-17-2018, 11:43 PM
RE: GITHUB help -- pls - by mepyyeti - Mar-18-2018, 01:09 AM
RE: GITHUB help -- pls - by metulburr - Mar-17-2018, 11:44 PM
RE: GITHUB help -- pls - by metulburr - Mar-18-2018, 11:05 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020