π²Paid π Free βοΈ Favourite π Open source π½ Care for Privacy?
If you see the bellow error for the first time when you try to push your new branch which has not been pushed:
git push
fatal: The current branch new-branch has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin new-branch
const formatedTimestamp = ()=> {
const d = new Date()
const date = d.toISOString().split('T')[0];
const time = d.toTimeString().split(' ')[0].replace(/:/g, '-');
return `${date} ${time}`
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias c='clear' | |
alias gs='git status' | |
alias pull='git pull' | |
alias push='git push' | |
alias master='git checkout master' | |
alias commit='git commit -m' | |
alias ll='ls -la' | |
alias ls='ls --color=auto' |
NewerOlder