A little lookup for commands I use frequently
- Commit all edited files and add a message
git commit -a -m "My commit"
- Add all new files
git add .
{"lastUpload":"2019-06-11T10:37:30.607Z","extensionVersion":"v3.2.9"} |
import java.util.Scanner; | |
public class JosephusProblem { | |
public static void main(String[] args) { | |
Scanner sc = new Scanner(System.in); | |
System.out.println("Enter the number of Persons : "); | |
int i=sc.nextInt(); | |
String s = Integer.toBinaryString(i); | |
String s1 = s.substring(1) +s.charAt(0); |
A little lookup for commands I use frequently
git commit -a -m "My commit"
git add .