[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


how do i git pull while keeping local uncommitted changes
>just google
i don't car
>>
>>108660619
git stash push -m "niggerfaggot" --include-untracked

later

git stash apply

or

git stash pop
>>
Git pull . §HEAD --stash repository_name
>>
File: 1535478949355.png (42 KB, 900x720)
42 KB PNG
>>108660619
git commit -a -m "nigger"
git pull
>>
>>108660619
You can stash like the other anon said.
Or you can switch to a new branch, commit your changes there, switch back to main, pull, and merge your branch later.
>>
>>108660619
>uncommitted
>pajeet intern
Are you scared of defecating your company repo?
>>
File: IMG_4505.jpg (78 KB, 900x900)
78 KB JPG
>>108660642
>switch back to main
>main
>>
>>108660625
niggerfaggot is 2 commits ahead of lovense-ctl main and 136 behind
>>
>>108660619
Download git zip. Drag your files into unzipped directory
>>
>>108660619
jeet push
>>
>>108660642
this is the easiest and fastest way, I do it like this all the time and everybody I know does it like this.
>>
>>108660619
>copy paste the folder and name it bk
>>
you don't. either commit your changes or remove them.
>>
>>108660642
does forking a repo count as a branch
>>
File: shrimple.jpg (77 KB, 1010x908)
77 KB JPG
git pull --rebase --autostash
>>
>>108660619
>how do i git pull while keeping local uncommitted changes
No one knows.
>>
>>108660656
It is kind of a lost cause at this point if you use any libraries and don't want to have to go through config bs every time.
I still have a master bedroom.
>>
>Claude, please do a git pull while keeping my local uncommitted changes
>>
>>108663573
don't forget to say thank you after lil timmy



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.