Questions tagged as 'git'

1
answer

Error to recreate new ssh key: gitconfig: Permission denied

On the computer where I work, there was another user. However I have to create a new ssh key and a new user. But when I run the commands:    $ git config --global user.name "alex jose silva" I get the message:    error: could not lo...
asked by 01.02.2018 / 21:09
1
answer

How to clone a repository in Bitbucket using a bash code and pass the password as a parameter?

I have a bash code that creates an instance of a server in AWS. The last step of this process is to make the project clone that is in bitbucket.org . Normally what I do manually are these steps: cd $HOME/vhosts - I position...
asked by 14.01.2018 / 16:17
1
answer

How do I reverse the latest uploads in git? [duplicate]

I accidentally sent the wrong files in Git, but I have not put them on the server yet. How can I undo these Git appointments?     
asked by 18.01.2018 / 02:24
0
answers

About blank projects using git

We are looking forward to taking advantage of a design template for our future projects. Like a blank project . We were trying to forkar the projects, but it did not work very well. What solution do you use? PS: We are using Gitlab inte...
asked by 09.01.2018 / 15:40
1
answer

Problems pushing to remote repository (GitHub)

I'm having a really hard time putting a project in GitHub . First, when I try to push push via ssh the following error appears: Then,totrytoescapetheerror,ItriedtodoviaHTTPSandthemessagepresentedwasasfollows: I re-created the folders...
asked by 03.12.2017 / 01:28
1
answer

Setting local branches before committing

I am new to Git and need to make a quick adjustment on my branches. I started an activity in a wrong local branch "X". I would like to migrate the changes to a local branch "Y" to give commit from "Y" and undo the changes in X....
asked by 10.11.2017 / 12:41
1
answer

Error starting a new app on Ionic

I'm starting a project in Ionic , I'm just following the initial steps, by passing the command: ionic start myApp tabs You are generating the following error ? Connect this app to the Ionic Dashboard? No > git add -A > git commit -...
asked by 28.10.2017 / 22:26
1
answer

How to install pull request package?

I'm trying to install a package npm ng2-table , but with a pull request that is not yet merge in master . Home Is there any way I can add this pull request to my package.json , so that it installs this commit rather than the master...
asked by 09.11.2017 / 20:00
1
answer

Running a git laravel project on my machine

I put a laravel project of my machine in git with the default git ignore. Then to use on another pc I downloaded git from the command line and tried to install the composer: composer install But it does not install .env and other things...
asked by 02.11.2017 / 21:28
0
answers

Git hook post-receive does not checkout on WIndows

I'm using git to do an automatic deploy . There are two computers with windows 7 on a local network. One would be a server and the other would be my development environment. I have created a BARE repository on my server and another reposi...
asked by 10.10.2017 / 22:35