I already know what we use versioning, how to do commits, add new files, logs, etc. but I would like to upload my files to the Github repository online, how do I connect and send my files?
I'm starting a team project and my question is whether the order I'm following is correct when working with GIT .
I run git pull origin master //Aqui baixo os arquivos mais recentes do projeto
I make all changes to an issue....
I'm trying to remove a very old commit from my repository that was just to test git, I researched some solutions and got into it:
git rebase --onto (sha1) (sha2)
or
git rebase --onto HEAD~2 HEAD~1
But I get some errors, my question is...
I would like to know how to automatically clone all the remote's arms to the location, without having to do the command below for each one.
git checkout -b <branch> <remote>/<branch>
There are many arms to be able to do th...
How do I delete a tag that was created locally in my git repository and has not yet been pushed
Example:
I created the v1.4.9 tag, but I noticed that it was in the wrong branch before doing git push . I want to remove the v...
When I try to make a clone of a repository through Git Bash by command line I get this error, as in the image below:
I'm on a corporate network, could the firewall be blocking me?
Has anyone ever had anything like this?
I needed to roll back a commit and locally it works fine. Now when I give PUSH to my repository, it gives me error.
My attempt
git fetch origin c6f1668e2fac57401a99a2184a47f0b58c15e403
git reset --hard FETCH_HEAD
git add .
git commit -m "re...
Example, I have this following command in a php file:
<?php
$imprimir = shell_exec("cd /home/afonso/Documentos/teste; git add arquivo.txt; git commit -m 'testando'; git push -u origin master");
So far everything works fine, except that...
I have a project that we use GIT for versioning. However, one of the programmers uploaded a wrong version to the remote server, gave commit , push and several commits and pushs .
There the site got an error. We try...
Imagine that I just made a git pull . So, for some reason I closed Terminal (No Ubuntu , for example) and did not see what files are marked as CONFLICT .
I've already learned in a way where I would run the grep...