βœ… github push not work !

I can't push my app to my github repository in visual studio 2022 pls help
17 Replies
Buddy
Buddyβ€’2w ago
$ask
MODiX
MODiXβ€’2w ago
How to get the best help :catpog: Make a post in #help or one of the topic channels under Development. Avoid asking :catthinking: Can anybody help me? :catthinking: Has anyone used XYZ? :catthinking: Why doesn't my code work? C# is a big area! No one knows they can help unless you tell them about the small area you're trying to work in. Explain what you are doing, and potentially why for as much context as possible. Avoid screenshots where possible, share code directly in Discord. Type $code into chat to learn how to post code. See https://www.nohello.net and https://dontasktoask.com if you want common help chat room etiquette.
Buddy
Buddyβ€’2w ago
"Helo me it doesnt work" is not sufficient information to to by. Please include details; such as what errors you get, etc.
πŠπ«ΓΈπ‘ΓΈπ—
when I push my app to github, it does not update it pushes the old record
orlac
orlacβ€’2w ago
that's still not enough info to help you since you aren't providing context. let's start with this info: 1. what command are you running from your local repo to push the changes? 2. what output does that command show? 3. how did you create your local repo? cloned from a github repo? or using git init? 4. is the local branch bound to an upstream branch on the remote server? 5. what does git log --pretty=oneline --graph --all output?
πŠπ«ΓΈπ‘ΓΈπ—
basically remove that
No description
πŠπ«ΓΈπ‘ΓΈπ—
the red point I think it's because of that
orlac
orlacβ€’2w ago
that usually just represents a line you removed. if you click on it you should see what line used to be there. i.e. in this screenshot it's showing that I removed using System.Xml; when I click on the red triangle.
No description
orlac
orlacβ€’2w ago
how are you trying to push the changes? what option in VS2022 are you using to do it? have you tried pushing from the command line instead?
πŠπ«ΓΈπ‘ΓΈπ—
exemple : I deleted the line in my project but it is still there on the repository and the previous update shows 1 hour even though I pushed a few seconds ago
No description
orlac
orlacβ€’2w ago
^
πŠπ«ΓΈπ‘ΓΈπ—
no just the β€œgit” button this : (ps I'm French so I've been going through the translation for a while now)
No description
πŠπ«ΓΈπ‘ΓΈπ—
previous to project button and send (push)
orlac
orlacβ€’2w ago
did you use the "Commit or Stash" feature before trying to push? you changes need to be staged and committed before they can be pushed...
No description
orlac
orlacβ€’2w ago
if you want to go to the repo folder and run these commands and show the output in this chat we can determine what state the repo is in to see what steps you need to take to push your local changes:
git status
git status
and this to see info about the remote repo and your local repo:
git log --pretty=oneline --graph --all
git log --pretty=oneline --graph --all
πŠπ«ΓΈπ‘ΓΈπ—
yes it's good thx