Hi!
If you are like me, and always have problems to remember how git hubs work. Here we go.
In my case a logged in the website github.com and created a repo.
Then, cloned it. To clone is just o sync the repo with your local computer. It will create a directory on computer. Where? In my case
C:\Users\daniel
Once it worked.
O go into the folder (cd .... )
I copy everything that I wanted to the directory.
git add *.* (add everything baby)
and then
git push
It's done.
It's simple, isn't it?
But it seems that depending on how you begin to create your repo, the sequence always change and the variations also seem infinite.
Do you like github?
Share your thoughts.
Good Luck!
$ git clone https://github.com/netdaniels/your_repo
daniel@DANIEL-PC ~
$ cd your_repo
daniel@DANIEL-PC ~/your_repo (master)
$ ls
Filter.xml your_repo.vshost.exe.config
LICENSE your_repo.vshost.exe.manifest
LastSearch.xml Result.xml
PreviewResult.xml STARFISH.Core.Home.GrpLalobalo.dll
README.md STARFISH.Core.Home.GrpLalobaloConfiguration.dll
your_repo.exe STARFISH.Core.Home.GrpLalobaloIO.dll
your_repo.exe.config STARFISH.Core.Home.GrpLalobaloLog.dll
your_repo.vshost.exe
daniel@DANIEL-PC ~/your_repo (master)
$ git push
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
Username for 'https://github.com': [your user name]
Password for 'https://netdaniels@github.com':
Everything up-to-date
daniel@DANIEL-PC ~/your_repo (master)
$ git add *.*
warning: LF will be replaced by CRLF in LastSearch.xml.
The file will have its original line endings in your working directory.
daniel@DANIEL-PC ~/your_repo (master)
$ git commit
[master 4d9bd6c] Primeiro commit
warning: LF will be replaced by CRLF in LastSearch.xml.
The file will have its original line endings in your working directory.
13 files changed, 543 insertions(+)
create mode 100644 Filter.xml
create mode 100644 LastSearch.xml
create mode 100644 PreviewResult.xml
create mode 100644 your_repo.exe
create mode 100644 your_repo.exe.config
create mode 100644 your_repo.vshost.exe
create mode 100644 your_repo.vshost.exe.config
create mode 100644 your_repo.vshost.exe.manifest
create mode 100644 Result.xml
create mode 100644 STARFISH.Core.Home.GrpLalobalo.dll
create mode 100644 STARFISH.Core.Home.GrpLalobaloConfiguration.dll
create mode 100644 STARFISH.Core.Home.GrpLalobaloIO.dll
create mode 100644 STARFISH.Core.Home.GrpLalobaloLog.dll
daniel@DANIEL-PC ~/your_repo (master)
$ git push
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
Username for 'https://github.com': [your user name]
Password for 'https://netdaniels@github.com':
Counting objects: 15, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 72.82 KiB | 0 bytes/s, done.
Total 14 (delta 1), reused 0 (delta 0)
To https://github.com/netdaniels/your_repo
89088ed..4d9bd6c master -> master
daniel@DANIEL-PC ~/your_repo (master)
$
Nenhum comentário:
Postar um comentário