Skip to content
View afsardo's full-sized avatar

Block or report afsardo

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. 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
    3
    
                  
    4
    # CAREFULL, command to kill the process make sure you are absolutely right
    5
    $ kill [PID]
  2. Delete old branches Delete old branches
    1
    When you are working in a team, you often make branches for features/bugs.
    2
    After the branch gets merged into master, you end up with an old reference in your own git history.
    3
    
                  
    4
    If 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
    
                  
  3. Untrack Files In Git Repos Without D... Untrack Files In Git Repos Without Deleting Them
    1
    Sometimes we f**k up, generally when working with git ^^
    2
    
                  
    3
    If 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.
    4
    
                  
    5
    If you do: ``$ git rm FILE_NAME``, it will remove from git but also actually delete the file.