Questions tagged as 'github'

1
answer

Once I made a PR of a repo, should I delete my fork?

Working with a free project on GitHub, I made a fork of it, made some changes and asked for a PR, which was accepted. I updated my fork upstream and kept making other changes, and then going back to doing another PR. At that moment, I re...
asked by 12.04.2018 / 22:02
2
answers

Memory failure error

I'm trying to create a game but when I pass the cell phone to try it I throw the error of lack of memory. I do not know why this error is occurring because the images I use do not take up much of anything. How can you solve it? Here is the ga...
asked by 14.05.2018 / 01:24
2
answers

Clone remote git repository to commit

I have a project stored in a repository of
asked by 27.07.2017 / 17:29
3
answers

Return to previous commit

I work in a branch called master2 , the issue is that I made small changes in 1 file and when I tried to upload them, I made an error and I did git pull origin master and when doing push I found almost all the files in the re...
asked by 29.12.2016 / 12:04
3
answers

Not working properly .gitignore when versioning an Android project

I still can not have a .gitignore file that can help my code versioned in git for an Android project, if I modify a class or something very simple modifications are made in unnecessary files like tests. Annex my .gitignore too. *.iml .gr...
asked by 26.10.2017 / 17:11
1
answer

Delete a Git branch both locally and remotely

   Original question: Delete a Git branch both locally and remotely by Matthew Rankin I want to delete a branch both locally and at the branch of my remote project on Github. Deleted local branch successfully $ git branch -D bugfix...
asked by 23.12.2015 / 23:00
3
answers

How to install Git on Kali Linux or Ubuntu?

what would be the lines of code that would have to run as in Kali Linux, as in Ubuntu. how to know if I have git installed in both Ubuntu and Kali Linux. I know that the commands are the same in Kali as in Ubuntu, but I have that little doubt...
asked by 19.06.2017 / 01:05
3
answers

I can not "push" from Git

I want to send my code to my remote repository but I have a problem when doing push from my Git console. Once I have added all my income, my password https : git remote add origin https://github.com/... then it is necessary to d...
asked by 14.12.2017 / 05:45
1
answer

I can not merge branch again with git after discard commit

I made a merge of a branch to master and later I realized that this branch had changes that I did not want. I have discarded the commit of that merge with: git revert -m 1 commit_hash Now I need to re-merge that branch to m...
asked by 28.03.2018 / 11:49
1
answer

Undo a "merge branch master" to my "current branch"

I am working with a branch B and I have the branch Master . I just finished my modifications and I wanted to add them to the Master, but instead of doing this I made a merge branch 'Master' into 'B' (I put it in English becau...
asked by 04.11.2017 / 00:52