Questions tagged as 'github'

2
answers

Is there any workflow in git where file access and blocking are determined?

About Git, it would have some way where each user determines which files and for how long, the other user will have access to edit certain files, wanted some way to avoid file conflicts.     
asked by 08.04.2016 / 15:47
1
answer

How to work with github when A2F is enabled?

When I enable two-factor authentication in Github, do I have to work with the RSA key to update the repositories? When A2F (Authentication Two-Factor) is enabled the unique code is requested, I imagine that Git itself does not work with this,...
asked by 27.08.2018 / 06:14
1
answer

Two GIT Projects

If I have a project already being done in git and at any given moment I need to join with another project but keep the history of commit how?     
asked by 21.09.2017 / 21:18
1
answer

Git, upload codes directly to the server

I wanted to know if a way to leave all my projects online is possible so I do not always modify my code to upload it to the server. Go some questions: Now with every update in the code I wanted to upload it directly to the server...
asked by 04.03.2017 / 14:41
2
answers

Send specific branch with Git to Github

How can I send a specific branch to Github through Git? I am creating a project to learn how to use Gulp and its plugins, and in it I created a folder with the source code, called src and a folder containing the minified files, CSS she...
asked by 02.04.2016 / 18:37
1
answer

How to create a clean branch without taking the master branch history?

I need to create a clean branch that does not reflect the commits of the master branch. This branch will be used to make project information available on Github through gh-pages and will never be used to merge with the master branch.     
asked by 13.09.2015 / 02:29
1
answer

Is it possible to work with a local "community" repository in Git?

Imagine that I have a remote repository in Github, but I would also like to replicate it to a local server, thus allowing my team to work (and share code) even without remote access. And, for example, at the end of the day or week, a local "c...
asked by 24.02.2015 / 19:31
1
answer

Error pushing gitbash

You are showing the following error in the git bash console: $ git push -u origin master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository e...
asked by 22.03.2018 / 19:28
1
answer

How do I protect my account from unauthorized push?

I'm starting to use the git repository through gitlab, but I'm using it on a company computer where I work. Assuming that I leave the company and leave the configuration ready, how can I block a new programmer from erasing my entire project o...
asked by 19.04.2018 / 22:06
1
answer

How to pull files from the repository without merge commit?

How can I get new files from the repository without committing Merge branch 'master' of... ? I'm using: git pull It pulls everything out, but it creates this merge commit. How do I get only remote repository commits bypassing this...
asked by 09.03.2018 / 15:38