Java의 객체 지향 프로그래밍에 오신 것을 환영합니다.이 저장소는 단일 공간에서 Java의 다양한 프로그램을 유지하기 위해 만들어졌습니다. 이 저장소는 Thebhishek07에 의해 유지됩니다. 이것은 공개 저장소이며 코드에 대한 모든 종류의 기여가 환영됩니다.
Fork 버튼을 사용하여 자신의 포크/자바 프로그램 사본을 얻을 수 있습니다.
저장소의 포크로 가서 로컬 머신으로 클론 (다운로드)해야합니다.
$ git clone https://github.com/Your_Username/JAVA-PROGRAM.git 시스템에서 로컬 리포지토리 사본을 만듭니다.
GitHub에서 JAVA-PROGRAM 저장소를 클로닝하면 Linux 및 Mac에서 Change Directory 명령을 사용하여 먼저 해당 폴더로 이동하십시오.
## This will change directory to a folder JAVA-PROGRAM
$ cd JAVA - PROGRAM다른 모든 명령을 위해이 폴더로 이동하십시오.
이제 사용을 사용하여 원래 JAVA-PROGRAM 저장소에 대한 참조를 추가 할 수 있습니다.
$ git remote add upstream https://github.com/theabhishek07/JAVA-PROGRAM.git 이라는 새로운 리모컨 이 추가됩니다.
사용한 변경 사항을 참조하십시오
$ git remote - v
origin https : // github . com / Your_Username / JAVA - PROGRAM . git ( fetch ).
origin https : // github . com / Your_Username / JAVA - PROGRAM . git ( push ).
upstream https : // github . com / theabhishek07 / JAVA - PROGRAM . git ( fetch ).
upstream https : // github . com / theabhishek07 / JAVA - PROGRAM . git ( push ).항상 리포지토리의 로컬 사본을 원래 저장소로 업데이트하십시오.
# Fetch all remote repositories and delete any deleted remote branches
$ git fetch - - all - - prune
# Switch to master branch
$ git checkout master
# Reset local master branch to match upstream repository's master branch
$ git reset - - hard upstream / master
# Push changes to your forked JAVA-PROGRAM repo
$ git push origin master 당신이 기여할 때마다. 아래 명령을 사용하여 새 지점을 만들고 마스터 브랜치를 깨끗하게 유지하십시오 (즉, 원격 브랜치와 동기화).
# It will create a new branch with name <branchname> and switch to branch <branchname>
$ git checkout - b < branchname >원하는 분기로 전환합니다
# To switch from one folder to other
$ git checkout < branchname >분기에 변경 사항을 추가합니다. 사용
# To add all files to branch
$ git add .코드를 사용하는 코드와 관련된 메시지를 입력하십시오.
# This message get associated with all files you have changed
$ git commit - m "relevant message"이제 멋진 작업을 사용하여 원격 저장소로 푸시하십시오.
# To push your work to your remote repository
$ git push - u origin < branchname > 마지막으로 브라우저의 저장소로 이동하여 compare and pull requests 클릭하십시오. 그런 다음 소중한 노력을 설명하는 풀 요청에 제목과 설명을 추가하십시오.
특허
code_of_conduct