Yes, you can do
git push https://username:[email protected]/file.git --all
in this case https://username:[email protected]/file.git
replace the origin
in git push origin --all
To see more options for git push
, try git help push
More Related Contents:
- New to GitHub, how to run the commands on Windows?
- After $git push -u origin main command, Git bash is not requesting any authentication literally does nothing
- How to remove a directory from git repository?
- How to iterate through all git branches using bash script
- Git Init in home directory – now unable to commit changes
- git: ‘credential-cache’ is not a git command
- Various ways to remove local Git changes
- Using GIT_SSH_COMMAND in Git for Windows
- How do I change the default location for Git Bash on Windows?
- Cannot push to Git repository on Bitbucket
- GitHub – fatal: could not read Username for ‘https://github.com’: No such file or directory
- Unable to Connect to GitHub.com For Cloning
- Change the location of the ~ directory in a Windows install of Git Bash
- Git Bash (mintty) is extremely slow on Windows 10 OS
- Getting ssh-agent to work with git run from windows command shell
- Set an environment variable in git bash
- How to find the nearest parent of a Git branch
- Re-doing a reverted merge in Git
- How to find/identify large commits in git history?
- How to squash all git commits into one?
- Cleaning up old remote git branches
- Git: Could not resolve host github.com error while cloning remote repository in git
- Git: ignore some files during a merge (keep some files restricted to one branch)
- Why does Git tell me “Not currently on any branch” after I run “git checkout origin/”?
- Can deleted .git be restored?
- What is the difference between git push origin and git push origin master
- When I do “git push”, what do the statistics mean? (Total, delta, etc.)
- Unable to authenticate with Git Bash to Visual Studio Team Services
- git clone hangs forever on github
- git shallow clone to specific tag