afsardo
Follow
- Portugal
-
03:17
(UTC) - @a_fsardo
Pinned Loading
-
Port in USE, KILL Infinite loop server
Port in USE, KILL Infinite loop server 1# Command to find the process running on port 8000
2$ lsof -i tcp:8000
34# CAREFULL, command to kill the process make sure you are absolutely right
5$ kill [PID]
-
Delete old branches
Delete old branches 1When you are working in a team, you often make branches for features/bugs.
2After the branch gets merged into master, you end up with an old reference in your own git history.
34If you are like me, that although knowing git in the command line, use the Github Desktop app, you end up with an infinite list of old branches.
5 -
Untrack Files In Git Repos Without D...
Untrack Files In Git Repos Without Deleting Them 1Sometimes we f**k up, generally when working with git ^^
23If you for some reason happen to add a file in a commit that you shouldn't have and you want to remove it, it might not be that simple.
45If you do: ``$ git rm FILE_NAME``, it will remove from git but also actually delete the file.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.