latest 20 messages by Henry151
+
[2020-07-14T03:23:59Z]
Henry151
so if i type "git reset HEAD ../admin/test_administrative.py" to 'unstage' as it says there in the git status; will that essentially move that file from the "Changes to be committed" section to the "Changes not staged for commit" section? or is it going to delete the file itself?
+
[2020-07-14T03:21:48Z]
Henry151
oh and this is #github but full disclosure i am using bitbucket, and my paste i changed all the filenames around for privacy, but it still should represent the situation accurately and hopefully someone can help.
+
[2020-07-14T03:20:24Z]
Henry151
i made such a mess of the commit history last time and i pushed it and didn't even have the permissions to fix it and had to have someone else help me clean it up, a terrible embarrassing mess
+
[2020-07-14T03:19:47Z]
Henry151
can anybody help me get the hang of this
+
[2020-07-14T03:19:30Z]
Henry151
(if that's the right word?) my changes on top of their new commit
+
[2020-07-14T03:19:24Z]
Henry151
hey folks, I need a hand.. https://bpa.st/raw/T2SQ this is my "git status" presently, and as you can see i've created a new file, added it with "git add", and then i've also modified a bunch of other files that I haven't yet added. Now, someone else made a commit on this project since I started making my changes, so before I push anything at all, I want to first pull their most recent commits, and rebase
+
[2020-06-25T13:24:44Z]
Henry151
thanks Soliton
+
[2020-06-25T13:22:08Z]
Henry151
especially since there are only 5 or 6 relatively small commits to deal with, I could just walk through them each manually and re-create the commit history over on this new branch. But there has to be a way to just go in there and edit something to say, "these commits belong on this other branch, not on master!"
+
[2020-06-25T13:20:40Z]
Henry151
i could super easily achieve my goal another way, i'm just hoping to learn the "right way" or get guidance on how y'all would handle it
+
[2020-06-25T13:16:23Z]
Henry151
that branch. There must be an easy way to tell my local 5 or 6 commits that they should be pushed to the new dev branch, right?
+
[2020-06-25T13:16:17Z]
Henry151
if someone can help me out with a specific circumstance, i'm sure there's an easy enough way to do what i am trying to do. Circumstance: I clone a repository, make several commits, but when i go to push them i realize i don't have write access to the repository (from bitbucket not github technically but y'all should know what to do here). So then my boss makes me a branch and gives me write access to
+
[2020-06-25T13:13:52Z]
Henry151
hey folks
+
[2020-06-12T18:32:57Z]
Henry151
thanks again
+
[2020-06-12T18:28:54Z]
Henry151
ok cool. So by just running "git checkout", then i modify a file and run git add /path/to/modified/file and do git commit, it's going to be committing to a new branch? Or do I need to manually tell it to create a new branch? /me goes off googling realizing these are elementary questions
+
[2020-06-12T18:26:46Z]
Henry151
great. So, from the top of my head i would think i do something like, navigate to the project root and run "git checkout" and then start making my changes? I guess I can just google "git cheatsheet" and brush up and figure it out from here thanks for your help
+
[2020-06-12T18:24:53Z]
Henry151
ok. Thanks for the input
+
[2020-06-12T18:24:25Z]
Henry151
I want to get started though, to get a little head-start, so I thought maybe I can make my changes and document them with a commit history here on my machine, and be able to later apply those to the new branch the other guy is going to make.
+
[2020-06-12T18:23:35Z]
Henry151
jhass: yeah I'm just a little mixed up about it... basically I have just been given read-only access to a bunch of code that I am going to be working on in the future, and I'm waiting for someone to make a new development branch and give me write access to it before i start my work
+
[2020-06-12T18:20:34Z]
Henry151
so s/github/bitbucket/sorry
+
[2020-06-12T18:20:02Z]
Henry151
sorry this is actually a bitbucket question but since just about everything seems to carry over I thought I'd ask here.