Git Cheatsheet

I needed this, I was like every hour searching in Google one of the following commands… and having this page cached looks more efficient. Commands git clone URL folder This clones a repo to a given folder. If you don’t write the folder, it will try to clone it in a folder whose name be the repo name. If there is already a folder with that name, the clone process will fail. git init It creates a git structure in the current folder git add file It stages the given file. If you put a dot instead, it stages everything. git commit -m “Your commit message” It creates a commit with… Read More

Continue Reading

Debug mobile app in both mobile and computer

While we are developing a mobile app that talks to an API on our own, we may want to just put a breakpoint in an API call and see what happens. Although the best way to test and API is with programs like Postman, there are occasions where we need some context about when a call is made and for what reason. This looks difficult considering the fact that we are developing the API in the computer’s localhost, which is different than mobile’s localhost. We usually have an intuition here because we think that, being in the same network, there should be a way to access the computer. If you… Read More

Continue Reading